package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.SystemManagementDao;
import com.edt.ichannel.api.entiy.local.SystemManagement;
import com.edt.ichannel.api.service.SystemManagementService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SystemManagementServiceImpl implements SystemManagementService {

	@Resource
	private SystemManagementDao systemManagementDao;

	/**
	 * 根据用户名、密码查询接入系统
	 *
	 * @param username,
	 *            password
	 * @return com.edt.ichannel.api.entiy.local.SystemManagement
	 * @author 商婉玉
	 * @date 2018/7/11 9:55
	 */
	@Override
	public SystemManagement getSystemManagementByCondition(String username,
			String password) {
		SystemManagement systemManagement = systemManagementDao
				.getSystemManagementByCondition(username, password);
		return systemManagement;
	}
}
